package cn.tedu.pojo.di2;

import org.springframework.stereotype.Component;

@Component
public class Teacher {
    String name ="tony";
    String name2 ="tony";

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", name2='" + name2 + '\'' +
                '}';
    }
}
